package cn.cdqf.coupon.dispatch.controller;

import cn.cdqf.globle.common.ResultResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestPart;
import org.springframework.web.multipart.MultipartFile;

@FeignClient("kjxz-file")
public interface FileControllerApi {
    @PostMapping(value = "file",produces = "application/json;charset=utf-8",consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
     ResultResponse upload(@RequestPart MultipartFile multipartFile);
}
